package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.module.entity.ApartmentInfo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentDetailVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentItemVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentQueryVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentSubmitVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface ApartmentInfoService extends IService<ApartmentInfo> {
    void saveOrUpdateApartment(ApartmentSubmitVo apartmentSubmitVo);

    void pageApartmentItemByQuery(IPage<ApartmentItemVo> page, ApartmentQueryVo apartmentQueryVo);

    ApartmentDetailVo getApartmentDetail(Long id);

    void removeApartmentById(Long id);
}
